package data;

import java.util.ArrayList;
import java.util.Hashtable;

public class TopOceanInfo {
	public static Hashtable<String, ArrayList<String>> originCSTable; //This table holds a mapping of each CS member to origin
	public static Hashtable<String, ArrayList<String>> destCSTable; //This table holds a mapping of each CS member to origin
	public static ArrayList<String> salesHandler;
	public static ArrayList<String> companyTypes;
	public static boolean initialized = false;
	
	public static void initialize(){
		if(!initialized){
			initialized = true;
			
			//Read in external data source and populate tables
			originCSTable = new Hashtable<String,ArrayList<String>>();
			destCSTable = new Hashtable<String, ArrayList<String>>();
			salesHandler = new ArrayList<String>();
			companyTypes = new ArrayList<String>();
			
			ArrayList<String> temp = new ArrayList<String>();
			temp.add("JOHN");
			temp.add("BOB");
			ArrayList<String> blank = new ArrayList<String>();
			temp.add("");
			
			ArrayList<String> temp2 = new ArrayList<String>();
			temp2.add("JOHN");
			temp2.add("BOB");
			temp2.add("TOM");
			temp2.add("");
			
			
			ArrayList<String> temp1 = new ArrayList<String>();
			temp1.add("JACK");
			temp1.add("JOHN");
			ArrayList<String> blank1 = new ArrayList<String>();
			temp1.add("");
			
			ArrayList<String> temp3 = new ArrayList<String>();
			temp3.add("JACK");
			temp3.add("JOHN");
			temp3.add("JOSH");
			temp3.add("SAM");
			temp3.add("RICK");
			temp3.add("");
			
			
			originCSTable.put("", blank);
			originCSTable.put("HKG", temp);
			originCSTable.put("SHA", temp2);
			
			destCSTable.put("", blank1);
			destCSTable.put("LAX", temp1);
			destCSTable.put("ORD", temp3);
		}
	}
}
